package org.springblade.${package}.entity;

import java.io.Serial;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
<#list imports as import>
import ${import};
</#list>

/**
 * ${comment} - （entity）
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Schema(description = "${comment}")
@TableName("${tableName}")
public class ${entityName} extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;
<#list table.fields as field>

    @Schema(description = "${field.comment}")
    private ${field.propertyType} ${field.propertyName};
</#list>
}
